const db = require('../db')

exports.lbtu = (req, res) => {
    const sqlStr = `SELECT * FROM lbtu`
    db.query(sqlStr, (err, results) => {
        if (err) return res.cc(err)
        res.send({
            status: 0,
            msg: '信息已获取',
            data: results
        })
    })
}

exports.mainImg = (req, res) => {
    const sqlStr = `SELECT * FROM mainimg`
    db.query(sqlStr, (err, results) => {
        if (err) return res.cc(err)
        res.send({
            status: 0,
            msg: '信息已获取',
            data: results
        })
    })
}